﻿using SqlSugar;
using WorkLogSystem.Entity.Model;

namespace WorkLogSystem.Entity
{
    /// <summary>
    /// 用户账户表
    /// </summary>
    [SugarTable("User")]
    public class User : BaseEntity
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string cUserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string cPassword { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string cEmail { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string cPhone { get; set; }

        /// <summary>
        /// 性别(0-未知,1-男,2-女)
        /// </summary>
        public string cGender { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? rBirthday { get; set; }
    }
}
